package com.ts.cloudalibabaconsumer8084.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController {
    @GetMapping("/order/testA")
    @SentinelResource(value = "testA")
    public String testA() throws InterruptedException{
        return "testA";
    }
}
